package cn.edu.ujn.lishlab3.dao;

import java.util.Date;

public class Customer {
    private Integer cust_id;

    private String cust_name;

    private Integer cust_user_id;

    private Integer cust_create_id;

    private String cust_source;

    private String cust_industry;

    private String cust_level;

    private String cust_linkman;

    private String cust_phone;

    private String cust_mobile;

    private String cust_zipcode;

    private String cust_address;

    private Date cust_createtime;
    
	private Integer start;    // 起始行
	
	private Integer rows;     // 所取行数

    public Integer getCust_id() {
        return cust_id;
    }

    public void setCust_id(Integer cust_id) {
        this.cust_id = cust_id;
    }

    public String getCust_name() {
        return cust_name;
    }

    public void setCust_name(String cust_name) {
        this.cust_name = cust_name == null ? null : cust_name.trim();
    }

    public Integer getCust_user_id() {
        return cust_user_id;
    }

    public void setCust_user_id(Integer cust_user_id) {
        this.cust_user_id = cust_user_id;
    }

    public Integer getCust_create_id() {
        return cust_create_id;
    }

    public void setCust_create_id(Integer cust_create_id) {
        this.cust_create_id = cust_create_id;
    }

    public String getCust_source() {
        return cust_source;
    }

    public void setCust_source(String cust_source) {
        this.cust_source = cust_source == null ? null : cust_source.trim();
    }

    public String getCust_industry() {
        return cust_industry;
    }

    public void setCust_industry(String cust_industry) {
        this.cust_industry = cust_industry == null ? null : cust_industry.trim();
    }

    public String getCust_level() {
        return cust_level;
    }

    public void setCust_level(String cust_level) {
        this.cust_level = cust_level == null ? null : cust_level.trim();
    }

    public String getCust_linkman() {
        return cust_linkman;
    }

    public void setCust_linkman(String cust_linkman) {
        this.cust_linkman = cust_linkman == null ? null : cust_linkman.trim();
    }

    public String getCust_phone() {
        return cust_phone;
    }

    public void setCust_phone(String cust_phone) {
        this.cust_phone = cust_phone == null ? null : cust_phone.trim();
    }

    public String getCust_mobile() {
        return cust_mobile;
    }

    public void setCust_mobile(String cust_mobile) {
        this.cust_mobile = cust_mobile == null ? null : cust_mobile.trim();
    }

    public String getCust_zipcode() {
        return cust_zipcode;
    }

    public void setCust_zipcode(String cust_zipcode) {
        this.cust_zipcode = cust_zipcode == null ? null : cust_zipcode.trim();
    }

    public String getCust_address() {
        return cust_address;
    }

    public void setCust_address(String cust_address) {
        this.cust_address = cust_address == null ? null : cust_address.trim();
    }

    public Date getCust_createtime() {
        return cust_createtime;
    }

    public void setCust_createtime(Date cust_createtime) {
        this.cust_createtime = cust_createtime;
    }

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	@Override
	public String toString() {
		return "Customer [cust_id=" + cust_id + ", cust_name=" + cust_name + ", cust_user_id=" + cust_user_id
				+ ", cust_create_id=" + cust_create_id + ", cust_source=" + cust_source + ", cust_industry="
				+ cust_industry + ", cust_level=" + cust_level + ", cust_linkman=" + cust_linkman + ", cust_phone="
				+ cust_phone + ", cust_mobile=" + cust_mobile + ", cust_zipcode=" + cust_zipcode + ", cust_address="
				+ cust_address + ", cust_createtime=" + cust_createtime + ", start=" + start + ", rows=" + rows + "]";
	}
}